package com.ymtms.arrivalofgoods.dao;

import com.ymtms.arrivalofgoods.pojo.ArriveError;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ArriveErrorMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(ArriveError record);

    int insertSelective(ArriveError record);

    ArriveError selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(ArriveError record);

    int updateByPrimaryKey(ArriveError record);

    List<ArriveError> findAllError(Integer currentPage, Integer pageSize, @Param("arriveError") ArriveError arriveError);
}